package org.sy.lab.Java7并发编程实战.三线程同步辅助类.三等待多个并发事件的完成;

public class Main {
	public static void main(String[] args) {
		Videoconference conference = new Videoconference(10);
		Thread ThreadConference = new Thread(conference);
		ThreadConference.start();
		for(int i=0; i<10; i++) {
			Participant p = new Participant(conference, "Participant " + i);
			Thread t = new Thread(p);
			t.start();
		}
	}
}
